<?php

namespace addons\TinyShare\common\enums;

use common\enums\BaseEnum;

/**
 * 分享内容类型
 *
 * Class ContentTypeEnum
 * @package addons\TinyShare\common\enums
 * @author jackey <270499458@qq.com>
 */
class ContentTypeEnum extends BaseEnum
{
    const ARTICLE = 1;
	const IMAGE = 2;
	const VEDIO = 3;
	
    /**
     * @return array
     */
    public static function getMap(): array
    {
        return [
            self::ARTICLE => '文章',
            self::IMAGE => '图片',
            self::VEDIO => '视频',
        ];
    }
}